/**
 * Copyright (c) 2019 AsHacker All rights reserved.
 *
 * http://www.ashacker.com
 *
 * 版权所有，侵权必究！
 */

package io.renren.common.utils;

/**
 * Redis所有Keys
 *
 * @author Chen chenchen@ashacker.com
 */
public class RedisKeys {

    public static String getSysConfigKey(String key){
        return "sys:config:" + key;
    }

    public static String getSysDataKey(String key){
        return "sys:data:" + key;
    }

    public static String getSysOpertionKey(String userId, String operationCode, String operationName){
        return userId + "_" + operationCode+ "_" + operationName;
    }

}
